True when the animation this object is playing was a play-once animation and has reached its last frame. Loops and back-and-forth animations are never finished.
Works differently on Game Boy - Animations play as on the Advance, with smaller limits: a frame lasts up to 650 sixtieths of a second, a frame has at most 4 boxes of each kind, and a game has up to 255 animations.
Works differently on Game Boy Color - Animations play as on the Advance, with smaller limits: a frame lasts up to 650 sixtieths of a second, a frame has at most 4 boxes of each kind, and a game has up to 255 animations.
On other consoles this differs: see Side by side and How the consoles differ.
animation_finished() -> boolbool
True when the animation this object is playing was a play once animation and has reached its last frame. Loops and back-and-forth animations are never finished. An animation that goes on to another one when it ends is not finished either: the other one has already started.
if (animation_finished()) {
animation_play("idle");
}Goes back to standing when a swing is over.
An animation that goes on to another one when it ends (play once, then another) is not finished: the other one has already started. The same moment is the Animation End event.